import {setStorage, getStorage} from '@/utils/tools/tools'
export default {
    getSession(state) {
        return state.sessionId || getStorage('user') && getStorage('user').sessionId
    },
    getUserType(state) {
        return state.userType || getStorage('user') && getStorage('user').userType
    },
    getUserInfo(state){
        return state.userInfo || getStorage('user')
    }
}